package com.example.glgk.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author lxk
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class QueryEscalation {

    @ApiModelProperty(value = "用户部门信息")
    private UserInfo userInfo;


    @ApiModelProperty(value = "时间维度 ('year' , 'month','day')")
    private String timeDimension;

    //为什么不用startTime和endTime？因为最开始的版本是要求不连续月份多选....改了N次，不想动了就这样吧
    @ApiModelProperty(value = "时间")
    @JsonProperty("times")
    private List<String> times;

    @ApiModelProperty(value = "条数")
    private int pageSize;

    @ApiModelProperty(value = "页数")
    private int pageNumber;

    @ApiModelProperty(value = "科室名称集合")
    private List<String> deptNames;

    private String deptName;

    @ApiModelProperty(value = "指标ids")
    @JsonProperty("indicatorIds")
    private List<String> indicatorIds;

    @ApiModelProperty(value = "查询出的元素ids")
    private List<String> elementIds;

    //计算的同比时间
    private List<String> yoyTimes;

    //计算的环比时间
    private List<String> momTimes;

    private List<String> allTimes;

    @ApiModelProperty(value = "开始时间")
    private String startTime;

//    @ApiModelProperty(value = "同比开始时间")
//    private String yoyStartTime;
//
//    @ApiModelProperty(value = "环比开始时间")
//    private String momStartTime;

    @ApiModelProperty(value = "结束时间")
    private String endTime;

//    @ApiModelProperty(value = "同比结束时间")
//    private String yoyEndTime;
//
//    @ApiModelProperty(value = "环比结束时间")
//    private String momEndTime;

    //根据月进行筛选去重
    List<String> groupTimes;

    //填报任务Id,用来查找手填表的填报数据
    List<String> taskIds;

    //作为灵活配置查询条件，查今年时间就是当前时间，查同期值就是同比时间，查环比期值就是环比时间
    List<String> tempTimes;


}
